<?php

namespace App\Http\Controllers\System\Tools;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Http\Resources\Common\DataResource;
use App\Services\System\Tools\FishService;

class FishController extends Controller
{

    /**
     * 获取开火日志
     */
    public function getFire(Request $request)
    {
        list ($collection) = FishService::create()->getFire($request);

        return new DataResource($collection);
    }
}
